<template>
  <div>
      <button @click="showName">学校名称：{{name}}</button>
      <h2>地址：{{address}}</h2>
  </div>
</template>

<script>
import {mixin} from '../mixin'
export default {
    name:'School',
    data(){
        return {
           name:'张三',
           address:'上海'
        }
    },
    mixins:[mixin]
    
}
</script>
